package com.meitianhui.convenitenbuy.module.mine.contract;

import android.content.Intent;
import android.net.Uri;

import com.meitianhui.convenitenbuy.base.BasePresenter;
import com.meitianhui.convenitenbuy.base.BaseView;

import java.util.List;

/**
 *  Created by amy on 2017/11/17.
 */

public interface FadeBackContract {

    interface View extends BaseView<FadeBackContract.Presenter> {

        void dismissDialog();

        void setAdapterAgain(List<Uri> photoList);

        void upLoadSuccess();

        void upLoadImagSuccess();

        void uploadImgsFailed();
    }

    interface Presenter extends BasePresenter {

        void openCamera(List<Uri> photoList);

        void dealWithPicture(int requestCode, int resultCode, Intent data, List<Uri> photoList);

        void openAlbum(List<Uri> photoList);

        void upLoadFadebackPhoto(List<Uri> photoList, String backNumber, String fadeBackContent);

        void upLoadFadebackContent(String fadeBackContent, String fadeBackNumber);
    }
}
